Download the PixelExperience Recovery. Simply download the latest recovery file.
warningImportant: Other recoveries may not work for installation or updates. We strongly recommend to use the one linked above!Connect your device to your PC via USB if it isn’t already.If your device isn’t already in fastboot mode, on the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type: adb reboot bootloaderYou can also boot into fastboot mode via a key combination:
With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release. Once the device is in fastboot mode, verify your PC finds it by typing: fastboot devicesIf you don’t get any output or an error:
on Windows: make sure the device appears in the device manager without a triangle. Try other drivers until the command above works!on Linux or macOS: If you see no permissions fastboot try running fastboot as root. When the output is empty, check your USB cable and port!checkTip: Some devices have buggy USB support while in bootloader mode, if you see fastboot hanging with no output when using commands such as fastboot getvar ..., fastboot boot ..., fastboot flash ... you may want to try a different USB port (preferably a USB Type-A 2.0 one) or a USB hub.Flash recovery onto your device (replace with the actual filename!): fastboot flash recovery .img Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
info_outlineNote: If you can’t power down the device, try long-pressing the key-combination (if any was used in the instructions above) until the device reboots and follow the instructions aboveinfo_outlineNote: If your recovery does not show the PixelExperience logo, you accidentally booted into the wrong recovery. Please start at the top of this section!Installing PixelExperience from recovery Download the PixelExperience installation package that you would like to install or build the package yourself.If you are not in recovery, reboot into recovery: With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release. Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).Return to the main menu.Sideload the PixelExperience .zip package: On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.On the host machine, sideload the package using: adb sideload filename.zip. checkTip: Normally, adb will report Total xfer: 1.00x, but in some cases, even if the process succeeds the output will stop at 47% and report Total xfer: 0.98x or adb: failed to read command: Success.In some cases it will report adb: failed to read command: No error or adb: failed to read command: Undefined error: 0 which is also fine. Once you have installed everything successfully, click the back arrow in the top left of the screen, then “Reboot system now”.info_outlineNote: The first boot usually takes no longer than 15 minutes, depending on the device.If it takes longer, you may have missed a step, otherwise feel free to get assistance. Get assistanceAfter you’ve double checked that you followed the steps precisely, didn’t skip any and still have questions or got stuck, feel free to ask on our Telegram group.